home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / cujoct93.zip / 1110043B < prev    next >
Text File  |  1993-08-09  |  541b  |  37 lines

  1. typedef struct {
  2.   char *str;
  3. } Err;
  4.  
  5. struct {
  6.   struct {
  7.     Err open;
  8.     Err close;
  9.     Err write;
  10.     struct {
  11.       Err end_of_file;
  12.       Err system;
  13.     } read;
  14.   } io;
  15.   struct {
  16.     Err no_memory;
  17.     Err already_free;
  18.   } memo;
  19.   Err syntax;
  20. } foo = {
  21.   {
  22.     {"cannot open file"},
  23.     {"cannot close file"},
  24.     {"cannot write to file"},
  25.     {
  26.       {"end of file"},
  27.       {"system read failure"}
  28.     }
  29.   },
  30.   {
  31.     {"not enough memory"},
  32.     {"block already free"}
  33.   },
  34.   {"syntax error"}
  35. };
  36.  
  37.